<?php
/**
 * @copyright  For copyright and license information, read the COPYING.txt file.
 * @link       /COPYING.txt
 * @license    Academic Free License (AFL 3.0)
 * @package     default_default
 */

/**
 * @see Mage_Adminhtml_Block_Widget_Breadcrumbs
 * @var Mage_Adminhtml_Block_Widget_Breadcrumbs $this
 */
?>
<?php if(!empty($links)): ?>
<ul class="breadcrumbs">
    <?php $_size = count($links); ?>
    <?php foreach ($links as $_index => $_link): ?>
    <li>
        <?php if(empty($_link['url'])): ?>
            <?php if($_index != $_size - 1): ?>
                <span><?php echo $this->escapeHtml($_link['label']) ?></span>
            <?php else: ?>
                <strong><?php echo $this->escapeHtml($_link['label']) ?></strong>
            <?php endif ?>
        <?php else: ?>
            <a href="<?php echo $_link['url'] ?>" title="<?php echo $this->escapeHtml($_link['title']) ?>"><?php echo $this->escapeHtml($_link['label']) ?></a>
        <?php endif ?>
        <?php if($_index != $_size - 1): ?>
            &raquo;
        <?php endif ?>
    </li>
    <?php endforeach ?>
</ul>
<?php endif ?>
